import requests

resp = requests.post(url="http://tpshop-test.itheima.net/index.php?m=Home&c=User&a=do_login&t=0.09339104053260328",
                    headers={"Content-Type":"application/x-www-form-urlencoded"},
                    data={"username":"13351701069","password":"123456789","verify_code":"8888"})

#  用 json() 将 resp 转换成 json格式
print("响应结果:",resp.json())
